﻿using System;
using System.Runtime.Serialization;

namespace EvidenceManagement.Model
{
    [DataContract]
    [DbObject(SelectCommandText = "Country_Select"
        , InsertCommandText = "Country_Insert"
        , DeleteCommandText = "Country_Delete"
        , UpdateCommandText = "Country_Update")]
    public class Country : IAuditable
    {
        [DbColumn]
        [DataMember]
        public Guid CountryID { get; set; }

        [DbColumn]
        [DataMember]
        public string Name { get; set; }

        [DbColumn]
        [DataMember]
        public string SystemDescription { get; set; }

        #region IAuditable Members

        [DbColumn]
        [DataMember]
        public Guid CreatedBy
        {
            get;
            set;
        }

        [DbColumn]
        [DataMember]
        public Guid ModifiedBy
        {
            get;
            set;
        }

        public bool IsDeleted
        {
            get;
            set;
        }

        #endregion

    }
}
